package cn.chinaunicom.fast.common.constant;

/**
 *
 * @ProjectName: core
 * @Package: com.springboot.cloud.common.core.constant
 * @ClassName: RedisKeys
 * @Description: redis缓存常量类
 * @Author: wangjc
 * @CreateDate: 2020/3/16 0016 15:03
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/3/16 0016 15:03
 * @UpdateRemark: 更新内容
 * @Version: 1.0
 */

public class RedisKeys {

	/**
	 * 系统前缀
	 */
	public static final String SYSTEM = "easy:secret:";
	/**
	 * 用户角色列表
	 */
	public static final String USER_ROLE_LIST = SYSTEM + "userRoleList:";
	/**
	 * 登录用户信息 - 工作人员 (系统用户)
	 */
	public static final String USER_LOGIN_INFO = SYSTEM + "user:login:";
	/**
	 * app应用认证信息
	 */
	public static final String APP_LONIN_INFO = SYSTEM + "app:login:";
	/**
	 * 用户登录验证码
	 */
	public static final String USER_LOGIN_CODE = SYSTEM + "user:login:code:";
	/**
	 * 登录租户信息 -
	 */
	public static final String TENANT_LOGIN_INFO = SYSTEM + "tenant:login:";
	/**
	 * 短信验证码有效时间15分钟
	 */
	public static final long TIME_SMS_VERF = 60 * 15L;
	/**
	 * 系统参数
	 */
	public static final String SYS_PARAMS = SYSTEM + "sys:params";

	/**
	 * 数字证书详情
	 */
	public static final String DIGITAL_ENVELOPE_INFO = RedisKeys.SYSTEM + "digital_envelop_info:";

	/**
	 * 数字证书集合
	 */
	public static final String DIGITAL_ENVELOPE_LIST = RedisKeys.SYSTEM + "digital_envelop_list:";


	/**
	 * 应用详情
	 */
	public static final String APP_SERVER_INFO = RedisKeys.SYSTEM + "app_server_info:";

	/**
	 * 应用集合
	 */
	public static final String APP_SERVER_LIST = RedisKeys.SYSTEM + "app_server_list:";
}
